const path = require("path");
const { autoLoadFile } = require("./utils/autoLoadFile");
const baseFilePath = "./model/system";
const fileList = autoLoadFile(path.join(__dirname, baseFilePath));
function importModel() {
  fileList.forEach((item) => {
    require(`${baseFilePath}/${item.base}`);
  });
  console.log("finish import model");
}

importModel();
